<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:68:"/data/wwwroot/luckyDraw/m/public/../application/view/order/jqdd1.php";i:1495183156;}*/ ?>
<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport"/>
    <!-- uc强制竖屏 -->
    <meta name="screen-orientation" content="portrait">
    <!-- QQ强制竖屏 -->
    <meta name="x5-orientation" content="portrait">
    <title>我的预约记录</title>
    <link rel="stylesheet" href="<?php echo \think\Config::get('resources'); ?>/css/bootstrap.css">
    <link rel="stylesheet" href="<?php echo \think\Config::get('resources'); ?>/css/font-awesome.css">
    <link rel="stylesheet" href="<?php echo \think\Config::get('resources'); ?>/css/cl-style.css">
    <link rel="stylesheet" href="<?php echo \think\Config::get('resources'); ?>/css/timeline-style.css">
    <style type="text/css">
        h2.top_title {
            border-bottom: none;
            background: none;
            text-align: center;
            line-height: 32px;
            font-size: 20px
        }

        h2.top_title span {
            font-size: 12px;
            color: #666;
            font-weight: 500
        }
    </style>
</head>
<body class="cl-body-bj">
<div class="container-fluid">
    <div class="row">


        <header class="cl-Forgetpasswd-header">
            <ul>
                <li class="col-xs-3"><a href="javascript:history.go(-1);"><i class="fa fa-chevron-left"> 返回</i></a></li>
                <li class="col-xs-6 text-center"><span class="text-center">预约记录</span></li>
                <li class="col-xs-3"></li>
            </ul>
        </header>

		<div class="container-fluid">
			<div class="form-group  has-feedback cl-MyCatalog-ss">
	        <label class="control-label" for="inputSuccess2"></label>
	        <input type="text" class="form-control" aria-describedby="inputSuccess2Status" id='search' onkeyup="search()" placeholder="输入景区关键字查询，留空显示全部景区">
	        <i class="fa fa-search form-control-feedback" aria-hidden="true"></i>
	        <span id="inputSuccess2Status" class="sr-only">(success)</span>
    	</div>
		</div>

        <section id="cd-timeline" class="cd-container">
            <?php if(is_array($yuding) || $yuding instanceof \think\Collection || $yuding instanceof \think\Paginator): $i = 0; $__LIST__ = $yuding;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$yd): $mod = ($i % 2 );++$i;?>
                <div class="cd-timeline-block" id="data" data-text="<?php echo $yd['jqname']; ?>">
                    <div class="cd-timeline-img cd-movie">
                        <img src="<?php echo \think\Config::get('style'); ?>/image/cd-icon-picture.svg" alt="Picture">
                    </div>
                    <div class="cd-timeline-content">
                        <h2>联票号：<?php echo $yd['lianpiaono']; ?></h2>
                        <p class="cl-jq-name">
                            <i class="fa fa-flag-checkered "></i><?php echo $yd['jqname']; ?>
                        </p>
                        <p class="cl-use-name">
                            <i class="fa fa-user"></i><?php echo $yd['worker']; ?>
                            <span class="small cl-ckxq"><a href="<?php echo url('Order/numbers_order_details',array('od' =>$yd['prize_coupon_code'] )); ?>">查看详情 <i class="fa fa-angle-right"></i></a> </span>
                        </p>
                        <span class="cl-ydzt">
                            <img src="<?php echo \think\Config::get('style'); ?>/image/yd-ok.png">
                        </span>
                        <span class="pull-left cl-chuyou-date">
                            出游日期：<?php if($yd['yudingtime'] == $yd['endyudingtime']): ?>
                                <?php echo $yd['yudingtime']; else: ?>
                                <?php echo $yd['yudingtime']; ?>--<?php echo $yd['endyudingtime']; endif; ?>
                        </span>
                    </div>
                </div>
          <?php endforeach; endif; else: echo "" ;endif; ?>
        </section>
    </div>
</div>

<script>
	function search(){
		var sea=$('#search').val();
		var row_total=$("div[id^='data']");
		row_total.each(function() {
			var $this = $(this);
			if(sea==''){
				$this.show();
				return;
			}
			var str= $this.data('text');
			if(str.indexOf(sea)>=0){
				$this.show();
			}else{
				$this.hide();
			}
			
		});
	}
	
	function shows(){
		var row_total=$("div[id^='data']");
		row_total.each(function() {
			var $this = $(this);
			$this.show();
		});
	}
</script>
</body>
<script type="text/javascript" src="<?php echo \think\Config::get('resources'); ?>/js/jquery-1.11.3.min.js"></script>
<script type="text/javascript" src="<?php echo \think\Config::get('resources'); ?>/js/bootstrap.min.js"></script>
<script charset="utf-8" type="text/javascript" src="<?php echo \think\Config::get('resources'); ?>/js/baidu_count.js"></script>
</html>